package org.im.service.message.bean;

public class BaseMessage {

	protected String fromId;
	protected String toId;
	protected int fromUserType;
	protected int messageType;
	
	private long messageTime;
	
	private int actionType;
	public BaseMessage() {
		this.messageTime = System.currentTimeMillis();
	}
	public int getActionType() {
		return actionType;
	}

	public void setActionType(int actionType) {
		this.actionType = actionType;
	}

	public String getFromId() {
		return fromId;
	}
	public void setFromId(String fromId) {
		this.fromId = fromId;
	}
	public String getToId() {
		return toId;
	}
	public void setToId(String toId) {
		this.toId = toId;
	}
	public int getFromUserType() {
		return fromUserType;
	}
	public void setFromUserType(int fromUserType) {
		this.fromUserType = fromUserType;
	}
	public int getMessageType() {
		return messageType;
	}
	public void setMessageType(int messageType) {
		this.messageType = messageType;
	}
	public long getMessageTime() {
		return messageTime;
	}
	public void setMessageTime(long messageTime) {
		this.messageTime = messageTime;
	}
}
